package Bean;

import com.alibaba.fastjson.JSONObject;

public class BeanPlace {
    int place_id;
    String place_name;
    String place_photo;
    String place_introduction;

    public int getPlace_id() {
        return place_id;
    }

    public void setPlace_id(int place_id) {
        this.place_id = place_id;
    }

    public String getPlace_name() {
        return place_name;
    }

    public void setPlace_name(String place_name) {
        this.place_name = place_name;
    }

    public String getPlace_photo() {
        return place_photo;
    }

    public void setPlace_photo(String place_photo) {
        this.place_photo = place_photo;
    }

    public String getPlace_introduction() {
        return place_introduction;
    }

    public void setPlace_introduction(String place_introduction) {
        this.place_introduction = place_introduction;
    }
    public JSONObject toJson() {
        JSONObject j=new JSONObject();
        j.put("place_id", place_id);
        j.put("place_name", place_name);
        j.put("place_photo", place_photo);
        j.put("place_introduction", place_introduction);
        return j;
    }
}
